Skip to content

[tooltip] Remove deprecated props#47988

Merged
siriwatknp merged 9 commits intomui:masterfrom
siriwatknp:remove-deprecated-tooltip-props
Mar 18, 2026
Merged

[tooltip] Remove deprecated props#47988
siriwatknp merged 9 commits intomui:masterfrom
siriwatknp:remove-deprecated-tooltip-props

Conversation

@siriwatknp
Copy link
Member

Summary

Remove deprecated Tooltip props that have slots/slotProps replacements:

  • componentsslots
  • componentsPropsslotProps
  • PopperComponentslots.popper
  • PopperPropsslotProps.popper
  • TransitionComponentslots.transition
  • TransitionPropsslotProps.transition

Test plan

  • Unit tests pass (pnpm test:unit Tooltip)
  • TypeScript passes (pnpm typescript)
  • Proptypes and API docs regenerated
  • Migration guide updated in upgrade-to-v9.md

@siriwatknp siriwatknp added the breaking change Introduces changes that are not backward compatible. label Mar 16, 2026
@mui-bot
Copy link

mui-bot commented Mar 16, 2026

Netlify deploy preview

Bundle size report

Bundle Parsed size Gzip size
@mui/material ▼-474B(-0.09%) ▼-124B(-0.08%)
@mui/lab 0B(0.00%) 0B(0.00%)
@mui/system 0B(0.00%) 0B(0.00%)
@mui/utils 0B(0.00%) 0B(0.00%)

Details of bundle changes

Generated by 🚫 dangerJS against 4bea213

@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged. label Mar 16, 2026
@zannager zannager added the scope: tooltip Changes related to the tooltip. label Mar 16, 2026
@zannager zannager requested a review from brijeshb42 March 16, 2026 12:09
@siriwatknp siriwatknp changed the title [material-ui][Tooltip] Remove deprecated props [tooltip] Remove deprecated props Mar 17, 2026
@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged. label Mar 17, 2026
@siriwatknp siriwatknp requested review from ZeeshanTamboli, sai6855 and silviuaavram and removed request for brijeshb42 March 17, 2026 07:07
@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged. label Mar 17, 2026
npx @mui/codemod@latest deprecations/tooltip-props <path>
```

The deprecated props have been removed from the `Tooltip` component.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make sure you update this according to our slack discussion about new format (bring back list of changed props -> alternatives)

@siriwatknp siriwatknp force-pushed the remove-deprecated-tooltip-props branch 2 times, most recently from 446d906 to 96e7d6f Compare March 18, 2026 05:12
@siriwatknp siriwatknp force-pushed the remove-deprecated-tooltip-props branch from 8702202 to 68fc40a Compare March 18, 2026 05:47
@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged. label Mar 18, 2026
@siriwatknp siriwatknp requested a review from silviuaavram March 18, 2026 08:30
Copy link
Member

@ZeeshanTamboli ZeeshanTamboli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@siriwatknp siriwatknp merged commit 925d3fa into mui:master Mar 18, 2026
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking change Introduces changes that are not backward compatible. scope: tooltip Changes related to the tooltip.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants